set an image half its original size css

53

set an image half its original size css -

<span>
    <img src="example.png"/>
</span>

set an image half its original size css -

span {
    display: inline-block;
}
img {
    width: 50%;
}

Comments

Submit
0 Comments